package com.seguriapp.entities;

import java.io.Serializable;
import java.util.Date;

/**
 * Represents a Alert entity.
 * 
 * @author Tania Gonzales(taniadgv@gmail.com)
 */
@SuppressWarnings("serial")
public class Alert implements Serializable {

  private Long id;

  private double latitude;

  private double longitude;

  private String names;

  private String lastNames;

  private String dni;

  private Date date;

  private String phone;

  private boolean newAlert;
  
  private Long entityId;

  public Long getId() {
    return id;
  }

  public double getLatitude() {
    return latitude;
  }

  public double getLongitude() {
    return longitude;
  }

  public String getNames() {
    return names;
  }

  public String getLastNames() {
    return lastNames;
  }

  public String getDni() {
    return dni;
  }

  public Date getDate() {
    return date;
  }

  public String getPhone() {
    return phone;
  }

  public void setId(final Long id) {
    this.id = id;
  }

  public void setLatitude(final double latitude) {
    this.latitude = latitude;
  }

  public void setLongitude(final double longitude) {
    this.longitude = longitude;
  }

  public void setNames(final String names) {
    this.names = names;
  }

  public void setLastNames(final String lastNames) {
    this.lastNames = lastNames;
  }

  public void setDni(final String dni) {
    this.dni = dni;
  }

  public void setDate(final Date date) {
    this.date = date;
  }

  public void setPhone(final String phone) {
    this.phone = phone;
  }

  public boolean isNewAlert() {
    return newAlert;
  }

  public void setNewAlert(final boolean newAlert) {
    this.newAlert = newAlert;
  }

  public Long getEntityId() {
    return entityId;
  }

  public void setEntityId(final Long entityId) {
    this.entityId = entityId;
  }

}
